/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package strategies;

import general.IContext;

/**
 *
 * @author KAV
 */
public class NotSupportedOperationStrategy extends AbstractStrategy{

    @Override
    public void executeOperation(IContext context) {
        prepareContext(context);
        op.echo("<div id=\"control\">");
        op.putSubmit("Back", "back");
        op.echo("</div>");
        if (Integer.parseInt(pp.getParam("table-selection"))==0) op.echo("<h2>Select table, you can't do this action without selected table.</h2>");
            else op.echo("<h2>This operaition not supported for this table</h2>");
    }

}
